Get Today's Hourly Weather Data
(13 actions, 10 KB)
0 Run Shortcut
Get Today's Weather Forecast (Hourly)
»
Workflow
:
{ "workflowIdentifier": "FB2599BA-4907-424E-9C2F-FC5668A9F4CF", "workflowName": "Get Today's Weather Forecast (Hourly)", "isSelf": false }
1 Repeat with Each in
[0 Shortcut Result]
2 Get
Date
of Weather Conditions
[Repeat Item]
»
9
3 Get
[Shortcut Input]
of Weather Conditions
[Repeat Item]
»
5
7
4 If
[Shortcut Input
as Text
]
is
Precipitation Chance
5 Run Shortcut
Decimals → Percentage
Input
:
[3 Details of Weather Conditions]
Workflow
:
{ "workflowIdentifier": "D871A7AB-88B0-41E5-8866-21D6F3FA62DF", "workflowName": "Decimals → Percentage", "isSelf": false }
6 Otherwise
7 Get Text from
[3 Details of Weather Conditions]
8 End If »
9 Set Dictionary Value for
[2 Date
{"Date Style":"None","WFISO8601IncludeTime":false,"Time Style":"Short"}
]
to
[8 If Result]
in
[dict]
»
10 Set Variable
dict
to
[9 Dictionary]
11 End Repeat with Each ▵
1
12 Stop and Output
[dict]